package com.dtborad.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
//积分实体类
public class Points {
    //主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //用户id
    @TableField("userid")
    private Integer userId;

    //积分
    @TableField("points")
    private Integer points;

    //更新时间
    @TableField("updatetime")
    private Date updateTime;
}
